package com.cc.service;

import com.cc.entity.AttendanceRecord;
import com.cc.entity.Page;

import java.util.Map;

public interface AttendanceService {
    // 判断是否已经打卡
    Map<String, Object> isClockIn(String employeeId);
    // 获取员工考勤记录
    Page<AttendanceRecord> getAttendanceRecords(Integer employeeId, Page page);
    // 获取员工考勤记录总数
    int getAttendanceTotal(Integer employeeId);
    // 获取员工考勤概览
    public Map<String, Object> getAttendanceOverview(Integer employeeId);
    // 计算某年某月工作天数
    int calculateWorkDays(int year, int month);
}
